import 'babel-polyfill'
import Vue from 'vue'
import App from './App.vue'
import "./network/index.js"
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入iView UI组件库
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
// 引入全局配置
Vue.use(ViewUI, {
    transfer: true,
    size: 'large',
    capture: false,
    select: {
        arrow: 'md-arrow-dropdown',
        arrowSize: 30
    }
});

const vue = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

vue.$Message.config({
    top: 450,
    duration: 2
});
